<script type="text/javascript" src="<?php echo base_url()?>js/jquery.validate.pack.js"></script>
<style>
.list_div01{
width: 144px !important;    
}

</style>

<?php
$CI =& get_instance();

$CI->load->database();
$CI->load->library("front/header_lib");
$CI->load->model('register_model');

$page_title =  "Make a payment";

$query_pages = $CI->db->get_where('bur_staticpages',array('staticpage_link'=>'make_payment'));

foreach($query_pages->result() as $row_vals)
{
     $title = $row_vals->staticpage_title;
	$metakey_page = $row_vals->staticpage_metakey;
    $metadesc_page = $row_vals->staticpage_metadesc;
}

$datas = array();

$CI->header_lib->display_header_element(array("script"=>array("jquery-1.4.2","jquery.validate"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$CI->header_lib->display_header($datas);


?>
<!--body content starts-->

<div id="container_wrapper">

    	<div class="left_part">

        <?php $this->load->view(TEMPLATE_NAME.'/front/register/side_left'); ?>   

        </div>

        <div class="right_part">
            <?php
            $attributes =  array('id'=>'signupform', 'name' => 'signupform');
            echo form_open("register/packages",$attributes);?>
            <div class="requrest_quote">
            	<h1 class="heading01">Select Package </h1>
                    <p class="redTxt">Simply select  package below and submit.</p>
            <p><strong>Easy Payment Options:<br />
We Accept Visa , Master Card, and EFT </strong>(pay with your checking account)<br />
<strong>By Mail</strong>: Please add 20.00 for processing<br />
Cashier checks or Money Order <br />
Please make all Money Orders and Cashier checks to <strong>MITSS Group</strong> and include your email address on all correspondences.
</p>
            <ul>
            	<li>
                <div class="list_div01">&nbsp;</div>
                <div class="list_div02">
                        
                        <?php /*if($this->session->flashdata('package_error'))
                        {
                            echo '<div class="error">Please select your desired package.</div>';
                        }*/
                            
                        ?>
                    
                </div>
                <div class="clear"></div>
                </li>

                <li>
                  <h2 class="purple">Platinum Membership</h2> 
                <h3>Global Banner Ads:</h3><br>
                <p><strong>Global ads</strong>- Your banner ads will be seen on every page, these ads will be will be frozen throughout the website. Auto refreshes every hour to keep you to the top. </p><br>
                	<div class="list_div01">
                     <img title="Diamond Membership" src="<?php echo site_url('xhtml/img/ads_green.jpg');?>" />
                     </div>
                    <div class="list_div02">
                        <?php 
                        $platinum_offers = $CI->register_model->get_package_offers('global_ads');
                        $platinum_offers_special = $CI->register_model->check_package_offers_special('global_ads');
                        if($platinum_offers_special)
                        echo "Launch Sale Special:<br/>";
                        foreach($platinum_offers as $key=>$platinum_offer) :
                        if($platinum_offer->special==1 ){
                        ?>
                    <span class="purple">
                    
                    <input name="package" type="radio" value="<?php echo $platinum_offer->id;?>" /><?php echo $platinum_offer->offer_name;?> (<?php if($platinum_offer->cost == 0) echo 'FREE'; else echo $platinum_offer->currency_type.'&nbsp;'.$platinum_offer->cost;?>)
                    (Launch Sale)<br/>
                    </span>
                	
                        <?php 
                       }else{?>
                        
                        <input name="package" type="radio" value="<?php echo $platinum_offer->id;?>" /><?php echo $platinum_offer->offer_name;?> (<?php if($platinum_offer->cost == 0) echo 'FREE'; else echo $platinum_offer->currency_type.'&nbsp;'.$platinum_offer->cost;?>)<br />
                      <?php }
                         endforeach; ?>
                    </div>
                    <div class="list_div02"> <br/>              
&#8226;	Physical size: 120 x 60 pixels <br/>  
&#8226;	File size: under 20K <br/>  
&#8226;	No nudity (includes no bare breasts or buttocks, or simulating sexual acts); no exceptions <br/>  
&#8226;	4 Frames <br/>  
&#8226;	Banner text must not advertise or imply any illegal activity <br/>  
    </div>
    <div class="clear"></div>  
                    <div class="clear"></div>
                  
                </li>
                <li>
                  <h2 class="purple">Diamond Membership</h2>
<h3>Premier ad:</h3><br/> 

Your premium ads will be posted in the (Front page) as thumbnails under Premier Ad category. Above prices will be for a front page thumbnail (with changing pictures) full page ad with up to 8 pictures, with 1 category (for each additional category there will be $ 20.00 extra per category), you can provide personal links, and contact information.<br>

                    <div class="list_div01">
                     <img title="Diamond Membership" src="<?php echo site_url('xhtml/img/ads_blue.jpg');?>" />
                   
                    </div>
                    <div class="list_div02">
                    	<?php
                        $diamond_offers = $CI->register_model->get_package_offers('premium_ads');
                      $diamond_offers_special = $CI->register_model->check_package_offers_special('premium_ads');
                        if($diamond_offers_special)
                        echo "Launch Sale Special:<br/>";
                        foreach($diamond_offers as $key=>$diamond_offers) :
                        if($diamond_offers->special==1 ){
                        ?>
                    <span class="purple">
                    
                    <input name="package" type="radio" value="<?php echo $diamond_offers->id;?>" /><?php echo $diamond_offers->offer_name;?> (<?php if($diamond_offers->cost == 0) echo 'FREE'; else echo $diamond_offers->currency_type.'&nbsp;'.$platinum_offer->cost;?>)
                    (Launch Sale)<br/>
                    </span>
                	
                        <?php 
                       }else{?>
                        
                        <input name="package" type="radio" value="<?php echo $diamond_offers->id;?>" /><?php echo $diamond_offers->offer_name;?> (<?php if($diamond_offers->cost == 0) echo 'FREE'; else echo $diamond_offers->currency_type.'&nbsp;'.$platinum_offer->cost;?>)<br />
                      <?php }
                         endforeach; ?>
                    </div>
                    <div class="clear"></div>
                      
                </li>
                <li>
               <h2 class="purple">Gold Membership</h2>
      <strong>Agency Ad Package</strong> (two or more advertisers with the same phone number). Your Ads will be displayed on Special Ads section on the front page<br/><br/>
                    <div class="list_div01">
                     <img title="Diamond Membership" src="<?php echo site_url('xhtml/img/ads_gold.jpg');?>" />
                    </div>
                    <div class="list_div02">
                    	<?php
                        $gold_offers = $CI->register_model->get_package_offers('featured_ads');
                        
                        $gold_offers_special = $CI->register_model->check_package_offers_special('featured_ads');
                        if($gold_offers_special)
                        echo "Launch Sale Special:<br/>";
                        foreach($gold_offers as $gold_offers) :
                        if($gold_offers->special==1 ){
                        ?>
                    <span class="purple">
                    
                   	<input name="package" type="radio" value="<?php echo $gold_offers->id;?>" /><?php echo $gold_offers->offer_name;?> (<?php if($gold_offers->cost == 0) echo 'FREE'; else echo $gold_offers->currency_type.'&nbsp;'.$gold_offers->cost;?>)
                    (Launch Sale)<br/>
                    </span>
                	
                        <?php 
                       }else{?>
                        
                       	<input name="package" type="radio" value="<?php echo $gold_offers->id;?>" /><?php echo $gold_offers->offer_name;?> (<?php if($gold_offers->cost == 0) echo 'FREE'; else echo $gold_offers->currency_type.'&nbsp;'.$gold_offers->cost;?>)<br/>
                      <?php }
                         endforeach; ?>
                       
                    </div>
                 <div class="list_div02"><br/>
                <strong>Agency Ad package:</strong><br>
&#8226;Personal Ad management account <br/>
&#8226;	10 separate and Full ad pages in 1 category and 1 location (listed under you primary account <br/>
&#8226;	up to 8 pictures per page <br/>
&#8226;	Bio, contact information, and direct link to your personal WebPages <br/>
&#8226;	Unlimited access and updates to your ad through your Ad Management Account  <br/>
&#8226;	Auto refresh/update to the top of your category and location. <br/>
</div>
<div class="clear"></div> 
                </li>
                <li>
                 <h2 class="purple">Silver Membership</p>
<h3>Independent listings:</h3><br/>
                    <div class="list_div01">
                    <br />
                     <img title="Diamond Membership" src="<?php echo site_url('xhtml/img/ads_silver.jpg');?>" />
                     </div>
                    <div class="list_div02">
                    	<?php
                        $silver_offers = $CI->register_model->get_package_offers('standard_ads');
                        $silver_offers_special = $CI->register_model->check_package_offers_special('standard_ads');
                        if($silver_offers_special)
                        echo "Launch Sale Special:<br/>";
                        foreach($silver_offers as $silver_offers) :
                        if($silver_offers->special==1 ){
                        ?>
                    <span class="purple">
                    
                   	<input name="package" type="radio" value="<?php echo $silver_offer->id;?>" /><?php echo $silver_offer->offer_name;?> (<?php if($silver_offer->cost == 0) echo 'FREE'; else echo $silver_offer->currency_type.'&nbsp;'.$silver_offer->cost;?>)
                    (Launch Sale)<br/>
                    </span>
                	
                        <?php 
                       }else{?>
                        
                       <input name="package" type="radio" value="<?php echo $silver_offer->id;?>" /><?php echo $silver_offer->offer_name;?> (<?php if($silver_offer->cost == 0) echo 'FREE'; else echo $silver_offer->currency_type.'&nbsp;'.$silver_offer->cost;?>)<br/>
                      <?php }
                         endforeach;
                       ?>
                        <br/><br/>

<strong>Standard Ad package:</strong><br/>
&#8226;Personal Ad management account<br/>
&#8226;	1 Full page ad in 1 category and 1 location<br/>
&#8226;	up to 8 pictures<br/>
&#8226;	Bio, contact information, and direct link to your personal WebPages<br/>
&#8226;Unlimited access and updates to your ad through your Ad Management Account <br/>
                      
                    </div>
                   <div class="clear"></div> 
                   
                </li>
                
              
                <div class="height10_10"></div>
             
               
                <li>
                <label for="package" class="error" style="display: none;margin: 0;">Please select your package</label>
                    <div class="list_div02">
                    	<input type="image" value="submit" name="submit_pack" id="submit" src="<?php echo site_url('images/submit_btn.jpg');?>" height="57" width="378" style="border:1px solid #194C75" />
                    </div>
                    <div class="clear"></div>
                </li>
                </ul>
                </div>
            <?php echo form_close();?>

        </div>
       

 <?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?>  
   <div class="clear"></div>
</div>
<!--body content ends-->
<?php
$CI->load->library("front/footer_lib");
$CI->footer_lib->display_footer();
?>
<script type="text/javascript">
$(document).ready(function(){
 $('#signupform').submit(function(){
   if ($("input[name='package']:checked").length > 0){
  // one ore more checkboxes are checked 
    $('.error').css('display', 'none');
}
else{ $('.error').css('display', 'block'); return false;
 // no checkboxes are checked
}

 });
});
</script>
<?php
$CI->footer_lib->display_footer_element();

?>